package com.secxiot.provider.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.NumberFormat;

import java.io.Serializable;

@ApiModel
@ToString(callSuper = true)
@Data
public class BindDto implements Serializable {
    private static final long serialVersionUID = 4279722724618092256L;

    @ApiModelProperty(value = "扫码者id", required = true)
    @NumberFormat
    private Long scannerId;

    @ApiModelProperty(value = "被扫码用户id", required = true)
    @NumberFormat
    private Long userId;

    @ApiModelProperty(value = "被扫码用户要被绑定的部门id", required = true)
    @NumberFormat
    private Long deptId;
}
